{% extends "light.twig" %}
{% block title %}ONKI: {{ vocab.title }}{% endblock %}

{% block content %}
<div id="center-container">
  {% include 'vocab-search-nav-bar.twig' %}
  {#% include 'hierarchy-bar.twig' %#}
  <div id="vocab-content">
    {% if lang_supported == false %}
    <div id="lang-info" class="boxed">
      <h3>{{ lang_changed }}</h3>
    </div>
    {% endif %}
    <div id="vocab-info" class="boxed">
      <h3>{% trans "Vocabulary statistics" %}</h3>
      <br /> {% if vocab.info %}
      <table class="vocab-info-table">
        {% for key, value in vocab.info %}
        {% set keytrans = key %}
          <tr>
            <td>{{ keytrans|trans }} </td>
            <td>{{ value|raw }}</td>
          </tr>
        {% endfor %}
      </table>
      {% endif %}
      <div class="download-wrapper"><h3 class='download-text'>{% trans %}Download this vocabulary in SKOS format:{% endtrans %}</h3>
      <a class="download-text" href="../../rest/data/{{ vocab_id }}">RDF/XML<img src="{{ path_fix }}resource/pics/download.png" alt="&darr;"></a>
      </div>
    </div>
  </div>
</div>
{% endblock %}
